package com.hsurosy.domain.task.repository;

import com.hsurosy.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * @Author Hsu琛君珩
 * @Date 2024-11-15 14:07
 * @Description 任务服务仓储接口
 * @Version: v1.0.0
 */
public interface ITaskRepository {

    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);

}
